#导包
from rest_framework import serializers
from myapp.models import User,Goods,Orders,Comment


class CommentSer(serializers.ModelSerializer):

	class Meta:
		model = Comment
		fields = "__all__"



class OrdersSer(serializers.ModelSerializer):

	class Meta:
		model = Orders
		fields = "__all__"


class UserSer(serializers.ModelSerializer):

	class Meta:
		model = User
		fields = "__all__"



class GoodsSer(serializers.ModelSerializer):

	class Meta:
		model = Goods
		fields = "__all__"
